projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdb1d87
)
Adwaita: Fix hover in navigation sidebars
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 9 Aug 2020 14:29:39 +0000
(10:29 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 13 Aug 2020 20:30:22 +0000
(16:30 -0400)
The placessidebar gets this from somewhere else, but
it wasn't working in the gtk-demo sidebar, so add it
explicitly. placessidebar specific styles should be
dropped from Adwaita as much as possible, but not
doing that here.
gtk/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index 3f7626e7a72d205d0a7dafe5f3a3690c1f6ce923..2c30614560bd8021928cb3af9649dcb6b8e62690 100644
(file)
--- a/
gtk/theme/Adwaita/_common.scss
+++ b/
gtk/theme/Adwaita/_common.scss
@@
-3410,6
+3410,11
@@
placessidebar, .navigation-sidebar {
}
}
+ &:hover {
+ color: $fg_color;
+ background-color: $menu_selected_color;
+ }
+
&:disabled { color: $insensitive_fg_color; }
image.sidebar-icon {